class Constraint{
    public headTitle:string = "水电厂智能运维系统";
    public leftMenu:Array<Menu> = [
        {
            name:"两票管理",
            index:"1",
            page:"Bill",
            children:[
                {
                    name:"票据申请管理",
                    index:"1-1",
                    page:"BillApply",
                    children:[
                        {
                            name:"申请记录",
                            index:"/BillApplyRecord",
                            page:"BillApplyRecord",
                            children:[]
                        },
                        {
                            name:"票据发起申请",
                            index:"/BillApplyPageWork",
                            page:"BillApplyPageWork",
                            children:[
                                {
                                    name:"操作票",
                                    index:"/BillApplyPageOperate",
                                    page:"BillApplyPageOperate",
                                    children:[]
                                },
                                {
                                    name:"工作票",
                                    page:"BillApplyPageWork",
                                    index:"/BillApplyPageWork",
                                    children:[]
                                }
                            ]
                        }
                    ]
                },
                {
                    name:"票据审批管理",
                    page:"BillApprove",
                    index:"1-2",
                    children:[
                        {
                            name:"审核记录管理",
                            page:"BillApproveRecord",
                            index:"/BillApproveRecord",
                            children:[]
                        },
                    ]
                },
                {
                    name:"票据发放管理",
                    page:"BillIssue",
                    index:"1-3",
                    children:[
                        {
                            name:"票据发放记录",
                            page:"BillIssueRecord",
                            index:"/BillIssueRecord",
                            children:[]
                        },
                    ]
                }
            ]
        },
        {
            name:"工单管理",
            index:"2",
            page:"WorkOrder",
            children:[
                {
                    name:"工单申请管理",
                    page:"WorkOrderApply",
                    index:"2-1",
                    children:[
                        {
                            name:"工单发起申请",
                            page:"WorkOrderApplyPage",
                            index:"/WorkOrderApplyPage",
                            children:[]
                        },
                        {
                            name:"申请记录",
                            page:"WorkOrderApplyRecord",
                            index:"/WorkOrderApplyRecord",
                            children:[]
                        }
                    ]
                },
                {
                    name:"工单审核与审批",
                    page:"WorkOrderApprove",
                    index:"2-2",
                    children:[
                        {
                            name:"审核记录管理",
                            page:"WorkOrderApproveRecord",
                            index:"/WorkOrderApproveRecord",
                            children:[]
                        },
                    ]
                },
                {
                    name:"工单查询与统计",
                    page:"WorkOrderQuery",
                    index:"2-3",
                    children:[
                        {
                            name:"历史工单记录查询",
                            page:"WorkOrderQueryRecord",
                            index:"/WorkOrderQueryRecord",
                            children:[]
                        }
                    ]
                },
                // {
                //     name:"工单分配管理",
                //     page: "WorkOrderDistribute",
                //     index:"2-4",
                //     children:[
                //         {
                //             name:"责任人分配",
                //             page:"WorkOrderDistributePage",
                //             index:"/WorkOrderDistributePage",
                //             children:[]
                //         },
                //         {
                //             name:"工单优先级设置",
                //             page:"WorkOrderDistributePriority",
                //             index:"/WorkOrderDistributePriority",
                //             children:[]
                //         },
                //         {
                //             name:"分配记录跟踪",
                //             page:"WorkOrderDistributeRecord",
                //             index:"/WorkOrderDistributeRecord",
                //             children:[]
                //         }
                //     ]
                // },
                // {
                //     name:"通知与提醒",
                //     page:"WorkOrderNotice",
                //     index:"2-5",
                //     children:[
                //         {
                //             name:"工单状态变更通知",
                //             page:"WorkOrderNoticePage",
                //             index:"/WorkOrderNoticePage",
                //             children:[]
                //         },
                //         {
                //             name:"重要工单提醒",
                //             page:"WorkOrderNoticeImportant",
                //             index:"/WorkOrderNoticeImportant",
                //             children:[]
                //         },
                //         {
                //             name:"任务到期提醒与跟踪",
                //             page:"WorkOrderNoticeDeadline",
                //             index:"/WorkOrderNoticeDeadline",
                //             children:[]
                //         }
                //     ]
                // }
            ]
        },
        {
            name:"安全管理",
            page:"SafeManage",
            index:"3",
            children:[
                {
                    name:"安全培训管理",
                    page:"SafeTrain",
                    index:"3-1",
                    children:[
                        {
                            name:"培训计划制定",
                            page:"SafeTrainPlan",
                            index:"/SafeTrainPlan",
                            children:[]
                        },
                        {
                            name:"培训资料管理",
                            page:"SafeTrainMaterial",
                            index:"/SafeTrainMaterial",
                            children:[]
                        }
                    ]
               },
                {
                    name:"应急预案管理",
                    index:"3-2",
                    page:"SafeEmergency",
                    children:[
                        {
                            name:"应急预案制定与修订",
                            page:"SafeEmergencyPlan",
                            index:"/SafeEmergencyPlan",
                            children:[]
                        },
                        {
                            name:"应急资源管理",
                            page:"SafeEmergencyResource",
                            index:"/SafeEmergencyResource",
                            children:[]
                        }
                    ]
                },
                // {
                //     name:"数据统计与分析",
                //     page:"SafeStatistics",
                //     index:"3-3",
                //     children:[
                //         {
                //             name:"安全事件统计",
                //             page:"SafeEventStatistics",
                //             index:"/SafeEventStatistics",
                //             children:[]
                //         },
                //         {
                //             name:"隐患排查分析",
                //             page:"SafeHiddenStatistics",
                //             index:"/SafeHiddenStatistics",
                //             children:[]
                //         }
                //     ]
                // },
                // {
                //     name:"视频监控与实时反馈",
                //     page:"SafeVideo",
                //     index:"3-4",
                //     children:[
                //         {
                //             name:"视频流监控系统",
                //             page:"SafeVideoMonitor",
                //             index:"/SafeVideoMonitor",
                //             children:[]
                //         },
                //         {
                //             name:"实时安全帽佩戴检查",
                //             page:"SafeHatCheck",
                //             index:"/SafeHatCheck",
                //             children:[]
                //         },
                //         {
                //             name:"实时反馈与警告",
                //             page:"SafeFeedback",
                //             index:"/SafeFeedback",
                //             children:[]
                //         }
                //     ]
                // },
                {
                    name:"门禁管理",
                    page:"SafeAccess",
                    index:"3-5",
                    children:[
                        // {
                        //     name:"门禁系统集成（刷卡、指纹、面部识别等）",
                        //     page:"SafeAccessSystem",
                        //     index:"/SafeAccessSystem",
                        //     children:[]
                        // },
                        {
                            name:"门禁记录与异常警报",
                            page:"SafeAccessRecord",
                            index:"/SafeAccessRecord",
                            children:[]
                        },
                        {
                            name:"出入权限设置与管理",
                            page:"SafeAccessPermission",
                            index:"/SafeAccessPermission",
                            children:[]
                        },
                        {
                            name:"临时通行证管理",
                            page:"SafeAccessTemporary",
                            index:"/SafeAccessTemporary",
                            children:[]
                        }
                    ]
                },
                {
                    name:"权限管理",
                    page: "SafePermission",
                    index:"3-6",
                    children:[
                        {
                            name:"用户角色与权限设置",
                            page:"SafePermissionUser",
                            index:"/SafePermissionUser",
                            children:[]
                        },
                        {
                            name:"安全管理系统访问控制",
                            page:"SafePermissionSystem",
                            index:"/SafePermissionSystem",
                            children:[]
                        },
                        {
                            name:"审计日志与操作记录",
                            page:"SafePermissionLog",
                            index:"/SafePermissionLog",
                            children:[]
                        }
                    ]
                }
            ]
        },
        {
            name:"巡检管理",
            page:"SafeInspection",
            index:"4",
            children:[
                {
                    name:"巡检数据统计与分析",
                    page:"SafeInspectionStatistics",
                    index:"4-1",
                    children:[
                        {
                            name:"历史巡检记录",
                            page:"SafeInspectionHistory",
                            index:"/SafeInspectionHistory",
                            children:[]
                        },
                        {
                            name:"巡检任务完成率统计",
                            page:"SafeInspectionRate",
                            index:"/SafeInspectionRate",
                            children:[]
                        }
                    ]
                },
                {
                    name:"巡检任务分配",
                    page:"SafeInspectionAssign",
                    index:"4-2",
                    children:[
                        {
                            name:"巡检人员分配",
                            page:"SafeInspectionPerson",
                            index:"/SafeInspectionPerson",
                            children:[]
                        },
                        {
                            name:"分配记录跟踪",
                            page:"SafeInspectionRecord",
                            index:"/SafeInspectionRecord",
                            children:[]
                        }
                    ]
                },
                {
                    name:"巡检人员管理",
                    page:"SafeInspectionPerson",
                    index:"4-3",
                    children:[
                        {
                            name:"巡检人员培训记录",
                            page:"SafeInspectionTrain",
                            index:"/SafeInspectionTrain",
                            children:[]
                        },
                        {
                            name:"巡检人员绩效评估",
                            page:"SafeInspectionEvaluate",
                            index:"/SafeInspectionEvaluate",
                            children:[]
                        }
                    ]
                },
                {
                    name:"巡检结果反馈",
                    page:"SafeInspectionFeedback",
                    index:"4-4",
                    children:[
                        {
                            name:"巡检发现问题记录",
                            page:"SafeInspectionProblem",
                            index:"/SafeInspectionProblem",
                            children:[]
                        },
                        {
                            name:"问题描述与拍照上传",
                            page:"SafeInspectionUpload",
                            index:"/SafeInspectionUpload",
                            children:[]
                        },
                        {
                            name:"巡检结果审核与反馈",
                            page:"SafeInspectionFeedback",
                            index:"/SafeInspectionFeedback",
                            children:[]
                        }
                    ]
                }
            ]
        },
        {
            name:"物资管理",
            page:"SafeMaterial",
            index:"5",
            children:[
                {
                    name:"物资入库管理",
                    index:"5-1",
                    page: "SafeMaterialIn",
                    children:[
                        {
                            name:"入库申请与审核",
                            page:"SafeMaterialInApply",
                            index:"/SafeMaterialInApply",
                            children:[]
                        },
                        // {
                        //     name:"库存数量更新",
                        //     page:"SafeMaterialInUpdate",
                        //     index:"/SafeMaterialInUpdate",
                        //     children:[]
                        // },
                        {
                            name:"入库记录与标签生成",
                            page:"SafeMaterialInRecord",
                            index:"/SafeMaterialInRecord",
                            children:[]
                        }
                    ]
                },
                {
                    name:"物资库存管理",
                    page:"SafeMaterialStock",
                    index:"5-2",
                    children:[
                        {
                            name:"库存实时监控",
                            page:"SafeMaterialMonitor",
                            index:"/SafeMaterialMonitor",
                            children:[]
                        },
                        {
                            name:"库存预警与补货管理",
                            page:"SafeMaterialWarning",
                            index:"/SafeMaterialWarning",
                            children:[]
                        },
                        {
                            name:"物资分类与编码管理",
                            page:"SafeMaterialClass",
                            index:"/SafeMaterialClass",
                            children:[]
                        }
                    ]
                },
                {
                    name:"物资档案管理",
                    page:"SafeMaterialArchive",
                    index:"5-3",
                    children:[
                        // {
                        //     name:"物资信息管理（如车辆、安全帽、水轮机等）",
                        //     page:"SafeMaterialInfo",
                        //     index:"/SafeMaterialInfo",
                        //     children:[]
                        // },
                        {
                            name:"使用说明与安全资料管理",
                            page:"SafeMaterialFile",
                            index:"/SafeMaterialFile",
                            children:[]
                        }
                    ]
                },
                {
                    name:"物资维修与保养管理",
                    page:"SafeMaterialMaintain",
                    index:"5-4",
                    children:[
                        {
                            name:"维修与保养计划制定",
                            page:"SafeMaterialPlan",
                            index:"/SafeMaterialPlan",
                            children:[]
                        },
                        {
                            name:"维修记录管理",
                            page:"SafeMaterialRecord",
                            index:"/SafeMaterialRecord",
                            children:[]
                        },
                        {
                            name:"维修费用控制与预算管理",
                            page:"SafeMaterialCost",
                            index:"/SafeMaterialCost",
                            children:[]
                        }
                    ]
                },
                {
                    name:"出入厂管理",
                    index:"5-5",
                    page: "SafeMaterialOut",
                    children:[
                        {
                            name:"视频识别系统集成",
                            page:"SafeMaterialVideo",
                            index:"/SafeMaterialVideo",
                            children:[]
                        },
                        {
                            name:"车辆与人员出入记录",
                            page:"SafeCarMaterialRecord",
                            index:"/SafeCarMaterialRecord",
                            children:[]
                        },
                        {
                            name:"出入权限管理",
                            page:"SafeMaterialPermission",
                            index:"/SafeMaterialPermission",
                            children:[]
                        }
                    ]
                }
            ]
        }
    ]
}
const constraint = new Constraint();
export default constraint
export interface Menu{
    name:string;
    children:Array<Menu>;
    page:string;
    index:string;
}
